package indi.zhifa.study2025.class004.imgserv.service;

import indi.zhifa.study2025.class004.imgserv.entity.dto.PictureRequest;
import indi.zhifa.study2025.class004.imgserv.entity.vo.PictureVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface IImageService {
    PictureVo uploadFromUrl(PictureRequest pPictureRequest) throws IOException;
    PictureVo uploadFromFile(MultipartFile multipartFile) throws IOException;
}
